package com.colorlight.cloud.complete.entity.po;

import com.colorlight.cloud.complete.entity.enumerate.PowerIndex;
import com.colorlight.cloud.gateway.api.message.constraint.basics.object.Trans;
import com.colorlight.iot.proto.complete.entity.CompleteEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author ll
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class PowerMonitorParam implements Trans<PowerMonitorParam, CompleteEntity.PowerMonitorParam> {

    /**
     * 是否启用电源监控, 默认false关闭上报
     */
    private Boolean enablePower;

    /**
     * 电源数组，默认空
     */
    private List<PowerIndex> powerIndex;
}

